package com.leaf.spring.y201907.day13.collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import org.junit.Test;

public class CollectionsTest {

	@Test
	public void suffixTest() {

		List<Object> list = new ArrayList<>();

		list.add(1);
		list.add(2);
		list.add(3);
		list.add(14);

		Collections.shuffle(list); //打乱list顺序
		System.out.println(list);

	}

}
